package com.bsh.service;

import com.alibaba.fastjson.JSONObject;
import com.bsh.api.Exception.ApiException;
import com.bsh.utils.ApiMessage;

/**
 * Created by Administrator on 2016/9/2.
 */
public interface ApiFinanceService {

    /**
     * 余额转账
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage   transferByBalance(JSONObject dto) throws ApiException;
    /**
     *充值
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage   userRecharge(JSONObject dto) throws ApiException;
    /**
     *在线支付转账
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage   transferByOnline(JSONObject dto) throws ApiException;
    /**
     *提现申请
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage   withdrawl(JSONObject dto) throws ApiException;
    /**
     *查询提现申请列表
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage   withdrawlList(JSONObject dto) throws ApiException;
}
